#include "rectangle.h"

Rectangle::Rectangle(){
    weight = 0;
    height = 0;
}
Rectangle::Rectangle(int newX, int newY, int newWeight, int newHeight){
    x = newX;
    y = newY;
    weight = newWeight;
    height = newHeight;
}
string Rectangle::Type()
{
    return "Rectangle";
}
vector<int> Rectangle::getProperties()
{
    vector<int> tmp;
    tmp.push_back(x);
    tmp.push_back(y);
    tmp.push_back(weight);
    tmp.push_back(height);
    return tmp;
}

